package com.easy.framework.web.safe.annotation;

import com.easy.framework.common.config.SecretProperties;
import com.easy.framework.web.safe.advice.EncryptRequestBodyAdvice;
import com.easy.framework.web.safe.advice.EncryptResponseBodyAdvice;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Import({SecretProperties.class,
        EncryptResponseBodyAdvice.class,
        EncryptRequestBodyAdvice.class})
public @interface EnableSecurity{

}
